/*
 * main.cpp
 *
 *  Created on: May 9, 2011
 *      Author: root
 */
#include <iostream>
using namespace std;
#include "circle.h"

int main(){
// decide what to do
	float rho;
	point p;

	float x,y;
	cout << " Enter rho and center coordinates " << endl;
	cin >> rho >> x >> y ;
	p.create(x,y);
	circle c0;
	c0.create(rho, p);
	cout << " Surface = "<< c0.getsurface() << endl;
	cout << " radius = "<< c0.getradius();
	point p_new=c0.getcenter();
	cout << " Center = " << c0.getcenter().getX() << " " << p_new.getY() << endl;
	return 0;
}
